<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>社团信息管理系统</title>
     <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/assets/css/bootstrap.min.css" rel="stylesheet">
    <script src="__PUBLIC__/assets/js/jQuery.min.js"></script>
     <script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>
      <script src="__PUBLIC__/assets/js/jquery.min.js"></script>
       <script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>
       <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
       <script>
 function func(vid){
  document.getElementById("videoid").value=vid;
   document.getElementById("login").modal();
  }
 </script>
 <!-- 从show页登录成功后取得vid 并跳转到登录模态框--> 

<!-- 弹窗显示视频的资源 css和jQ-->
<script>
jQuery(document).ready(function($) {
  $('.theme-login').click(function(){
    $('.theme-popover-mask').fadeIn(100);
    $('.theme-popover').slideDown(200);
  })
  $('.theme-poptit .close').click(function(){
var myVideo=$('#myVideo')[0];
      myVideo.pause();
    $('.theme-popover-mask').fadeOut(100);
    $('.theme-popover').slideUp(200);
        
  })

})
</script> 
</head>
<style >
  
    #left{
      margin: 0;
padding: 7px;
line-height: 1.5em;
        font-family: "Times New Roman", Times, serif;
font-size: 20px;
        color: #FFFFFF;
background: #000000 url(images/templatemo_body.jpg) top center no-repeat;
}
#TM {background:rgba(255, 255, 255, 0.6) none repeat scroll 0 0 !important;
/*实现FF背景透明，文字不透明*/filter:Alpha(opacity=50); background:#00DB00;
/*实现IE背景透明*/ padding-top:30px;}
body{
    background-image:url(__ROOT__/uploads/photo/19.jpg);
    background-attachment:fixed;
}
 
</style>
<body>

<br><br>





  <div class="container-fluid" >


  <!-- Collect the nav links, forms, and other content for toggling     -->
    <div class="navbar navbar-fixed-top navbar-default" id="left" >
  
      <ul class="nav navbar-nav" >
      <li><img src="__ROOT__/uploads/photo/20.jpg" style="width:60px;height:60px"></li>
        <li role="presentation" ><a href="{:U('index/index')}"><font color="white"><b>首页</b></font></a></li>
        <li role="presentation" ><a href="{:U('List/listgroups')}"><font color="white"><b>社团详情</b></font></a></li>
        <li role="presentation" ><a href="{:U('List/listpractices')}"><font color="white"><b>活动详情</b></font></a></li>

        </ul>

        <form   action="Search.php" class="navbar-form navbar-left" role="search" >
        <div class="form-group" align="center">
          <input type="text" class="form-control"  name="videoname" placeholder="Search">
        
        <button type="submit" class="btn btn-default" ><b>搜索</b></button></div>
      </form>
      
      <ul class="nav navbar-nav navbar-right" id="left" >
   <!--   <li><a href="#" data-toggle="modal" data-target="#login">登录</a></li>
       <li><a href="#" data-toggle="modal" data-target="#reg">注册</a></li>-->
       <empty name="Think.session.users">
       <li id="dlli">
       <li><a href="#" data-toggle="modal" data-target="#login"><font color="white">登录</font></a></li>
       <li><a href="#" data-toggle="modal" data-target="#reg"><font color="white">注册</font></a></li>
       
       <else/>
       
      <li > 
       <a href="{:U('Profile/index')}"><font color="white">个人中心</font></a> </li>
      
       <li> <a href="{:U('Login/logout')}"><font color="white">注销</font></a></else>
        
       

           
       </li></empty>

       </ul>   </div></div>
<!-- /注册模态框 -->
 <div class="modal fade" id="reg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel"><h3>请填写用户注册信息</h3></h4>
      </div>
      <div class="modal-body">

 <form method=post action="{:U('Login/add')}" enctype="multipart/form-data"  class="form-horizontal">

  <div class="form-group">
  <label for="exampleInputUserName" class="col-md-2 control-label"><font face="行楷" size="4">用户名</font></label>
 <div class="col-md-10">
<input type="text" name="ydq_username" class="form-control" id="exampleInputUserName" placeholder="姓名" required>
</div>
</div>

 <div class="form-group">
  <label for="exampleInputPassword" class="col-md-2 control-label"><font face="行楷" size="4">密码</font></label>
 <div class="col-md-10">
<input type="password" name="ydq_pass" class="form-control" id="exampleInputPassword" placeholder="密码" required>
</div>
</div>


  <div class="form-group">
    <label for="exampleInputstunum" class="col-md-2 control-label"><font face="行楷" size="4">学号</font></label>
    <div class="col-md-10">
  <textarea class="form-control" rows="1"  id="exampleInputstunum" placeholder="学号" name="ydq_stunum"></textarea>
  </div>
  </div>


    <div class="form-group">
    <label for="exampleInputrealname" class="col-md-2 control-label"><font face="行楷" size="4">姓名</font></label>
    <div class="col-md-10">
  <textarea class="form-control" rows="1"  id="exampleInputrealname" placeholder="姓名" name="ydq_realname"></textarea>
  </div>
  </div>


    <div class="form-group">
    <label for="exampleInputtele" class="col-md-2 control-label"><font face="行楷" size="4">电话</font></label>
    <div class="col-md-10">
  <textarea class="form-control" rows="1"  id="exampleInputtelee" placeholder="电话" name="ydq_tele"></textarea>
  </div>
  </div>


    <div class="form-group">
    <label for="exampleInputemail" class="col-md-2 control-label"><font face="行楷" size="4">邮箱</font></label>
    <div class="col-md-10">
  <textarea class="form-control" rows="1"  id="exampleInputemail" placeholder="邮箱" name="ydq_email"></textarea>
  </div>
  </div>


  <div class="form-group">
    <label for="exampleInputFile" class="col-md-2 control-label"><font face="行楷" size="4">头像</font></label>
    <div class="col-md-10">
  <input type="file"  name="ydq_photo" id="exampleInputFile" required>
    </div>
  </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <input type="submit" class="btn btn-success" value="提交">
    <input type="reset"  class="btn btn-warning"  value="重置">
    </div>
  </div>

 </form>
    
  
   </div>
      <div class="modal-footer">
              <button type="button"  class="btn btn-danger" onclick="location.replace('index.html')" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>  
<!-- /注册模态框结束 -->

<!-- /登录模态框开始 -->
<div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">请填写普通用户登录信息</h4>
      </div>
      <div class="modal-body">

    <form  name="fm" method="post" action="{:U('Login/dologin')}" onsubmit="return check()" class="form-horizontal">
        <input type="hidden" name="vid" id="videoid" >
<div class="form-group">
  <label for="exampleInputUserName1" class="col-md-2 control-label">用户名</label>
 <div class="col-md-4">
<input type="text" name="ydq_username" class="form-control" id="exampleInputUserName1" placeholder="姓名" required>
</div>
<div class="col-md-6">
</div>
</div>

  <div class="form-group">
    <label for="exampleInputPassword1" class="col-md-2 control-label">密码</label>
    <div class="col-md-4">
  <input type="password" name="ydq_pass" class="form-control" id="exampleInputPassword1" placeholder="密码" required>
  </div>
   <div class="col-md-6">
  
  </div>
  </div>

<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <input type="submit" class="btn btn-success" value="登录">
    <input type="reset" class="btn btn-warning" value="重置">
    </div>
  </div>



  </form>
      </div>
      <div class="modal-footer">
                <button type="button" class="btn btn-danger"  onclick="location.replace('index.html')" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>  